package org.jeecg.modules.dmyweb.home.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface IHomeMapper extends BaseMapper<Map<String,Object>> {

    @Select("${sql}")
    List<Map<String, Object>> getSqlQuery(String sql);

    @Select("${sql}")
    Map<String, Object> getSqlOne(String s);

    @InterceptorIgnore(tenantLine = "true")
    Map<String, Object> getDataFormat(String storeId,String formatToDay, String formatMonth);

    @InterceptorIgnore(tenantLine = "true")
    List<Map<String, Object>> getOrderQtyLine(String stockName, String staffName, String beginTime, String endTime, String productName, String patternPayment, String orderStatus, String storeId);
}
